package com.xm.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by wzl on 2018/4/3.
 * DTU信息表
 */
public class Dtu implements Serializable {
    //主键
    private Integer dtuId;
    //编码
    private String code;
    //密码
    private String password;
    //波特率
    private Integer baudRate;
    //状态:0-掉线，1-在线
    private Short sts;
    //创建时间
    private Date createTime;
    //最后心跳时间
    private Date updateTime;
    //说明
    private String remark;
    //DTU类型:1-ZSD 3110  GPRS ,2-待定...
    private Short dtuType;
    //分页查询参数（查询用）
    private Integer start;
    //分页查询参数（查询用）
    private Integer length;

    public Integer getDtuId() {
        return dtuId;
    }

    public void setDtuId(Integer dtuId) {
        this.dtuId = dtuId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getBaudRate() {
        return baudRate;
    }

    public void setBaudRate(Integer baudRate) {
        this.baudRate = baudRate;
    }

    public Short getSts() {
        return sts;
    }

    public void setSts(Short sts) {
        this.sts = sts;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getDtuType() {
        return dtuType;
    }

    public void setDtuType(Short dtuType) {
        this.dtuType = dtuType;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }
}
